
	if	PPC
		IMPORT	InitGraf
		IMPORT	OpenPort
		IMPORT	InitPort
		IMPORT	ClosePort
		IMPORT	SetPort
		IMPORT	GetPort
		IMPORT	GrafDevice
		IMPORT	SetPortBits
		IMPORT	PortSize
		IMPORT	MovePortTo
		IMPORT	SetOrigin
		IMPORT	SetClip
		IMPORT	GetClip
		IMPORT	ClipRect
		IMPORT	BackPat
		IMPORT	InitCursor
		IMPORT	SetCursor
		IMPORT	HideCursor
		IMPORT	ShowCursor
		IMPORT	ObscureCursor
		IMPORT	HidePen
		IMPORT	ShowPen
		IMPORT	GetPen
		IMPORT	GetPenState
		IMPORT	SetPenState
		IMPORT	PenSize
		IMPORT	PenMode
		IMPORT	PenPat
		IMPORT	PenNormal
		IMPORT	MoveTo
		IMPORT	Move
		IMPORT	LineTo
		IMPORT	Line
		IMPORT	ForeColor
		IMPORT	BackColor
		IMPORT	ColorBit

		IMPORT	SetRect
		IMPORT	OffsetRect
		IMPORT	InsetRect
		IMPORT	SectRect
		IMPORT	UnionRect
		IMPORT	EqualRect
		IMPORT	EmptyRect
		IMPORT	FrameRect
		IMPORT	PaintRect
		IMPORT	EraseRect
		IMPORT	InvertRect
		IMPORT	FillRect
		IMPORT	ScrollRect

		IMPORT	FrameOval
		IMPORT	PaintOval
		IMPORT	EraseOval
		IMPORT	InvertOval
		IMPORT	FillOval

		IMPORT	FrameRoundRect
		IMPORT	PaintRoundRect
		IMPORT	EraseRoundRect
		IMPORT	InvertRoundRect
		IMPORT	FillRoundRect

		IMPORT	FrameArc
		IMPORT	PaintArc
		IMPORT	EraseArc
		IMPORT	InvertArc
		IMPORT	FillArc

		IMPORT	NewRgn
		IMPORT	OpenRgn
		IMPORT	CloseRgn
		IMPORT	BitMapToRegion
		IMPORT	DisposeRgn
		IMPORT	CopyRgn
		IMPORT	SetEmptyRgn
		IMPORT	SetRectRgn
		IMPORT	RectRgn
		IMPORT	OffsetRgn
		IMPORT	InsetRgn
		IMPORT	SectRgn
		IMPORT	UnionRgn
		IMPORT	DiffRgn
		IMPORT	XorRgn
		IMPORT	RectInRgn
		IMPORT	EqualRgn
		IMPORT	EmptyRgn
		IMPORT	FrameRgn
		IMPORT	PaintRgn
		IMPORT	EraseRgn
		IMPORT	InvertRgn
		IMPORT	FillRgn
		IMPORT	CopyBits
		IMPORT	SeedFill
		IMPORT	CalcMask
		IMPORT	CopyMask
		IMPORT	OpenPicture
		IMPORT	PicComment
		IMPORT	ClosePicture
		IMPORT	DrawPicture
		IMPORT	KillPicture
		IMPORT	OpenPoly
		IMPORT	ClosePoly
		IMPORT	KillPoly
		IMPORT	OffsetPoly
		IMPORT	FramePoly
		IMPORT	PaintPoly
		IMPORT	ErasePoly
		IMPORT	InvertPoly
		IMPORT	FillPoly
		IMPORT	SetPt
		IMPORT	LocalToGlobal
		IMPORT	GlobalToLocal
		IMPORT	Random
		IMPORT	StuffHex
		IMPORT	GetPixel
		IMPORT	ScalePt
		IMPORT	MapPt
		IMPORT	MapRect
		IMPORT	MapRgn
		IMPORT	MapPoly

		IMPORT	SetStdProcs
		IMPORT	StdRect
		IMPORT	StdRRect
		IMPORT	StdOval
		IMPORT	StdArc
		IMPORT	StdPoly
		IMPORT	StdRgn
		IMPORT	StdBits
		IMPORT	StdComment
		IMPORT	StdGetPic
		IMPORT	StdPutPic
		IMPORT	StdLine
		IMPORT	SetStdCProcs

		IMPORT	AddPt
		IMPORT	EqualPt
		IMPORT	PtInRect
		IMPORT	Pt2Rect
		IMPORT	PtToAngle
		IMPORT	SubPt
		IMPORT	PtInRgn

		IMPORT	OpenCPort
		IMPORT	InitCPort
		IMPORT	CloseCPort

		IMPORT	NewPixMap
		IMPORT	DisposePixMap
		IMPORT	CopyPixMap
		IMPORT	NewPixPat
		IMPORT	DisposePixPat
		IMPORT	CopyPixPat
		IMPORT	PenPixPat
		IMPORT	BackPixPat
		IMPORT	GetPixPat
		IMPORT	MakeRGBPat

		IMPORT	FillCRect
		IMPORT	FillCOval
		IMPORT	FillCRoundRect
		IMPORT	FillCArc
		IMPORT	FillCRgn
		IMPORT	FillCPoly

		IMPORT	RGBForeColor
		IMPORT	RGBBackColor
		IMPORT	GetForeColor
		IMPORT	GetBackColor
		IMPORT	HiliteColor

		IMPORT	SetCPixel
		IMPORT	SetPortPix
		IMPORT	GetCPixel
		IMPORT	SeedCFill
		IMPORT	CalcCMask

		IMPORT	OpenCPicture
		IMPORT	OpColor
		IMPORT	DisposeCTable
		IMPORT	GetCTable

		IMPORT	AllocCursor
		IMPORT	DisposeCCursor
		IMPORT	GetCCursor
		IMPORT	SetCCursor

		IMPORT	GetCIcon
		IMPORT	PlotCIcon
		IMPORT	DisposeCIcon

		IMPORT	GetMaxDevice
		IMPORT	GetCTSeed
		IMPORT	GetDeviceList
		IMPORT	GetMainDevice
		IMPORT	GetNextDevice
		IMPORT	TestDeviceAttribute
		IMPORT	SetDeviceAttribute
		IMPORT	InitGDevice
		IMPORT	NewGDevice
		IMPORT	DisposeGDevice
		IMPORT	SetGDevice
		IMPORT	GetGDevice

		IMPORT	Color2Index
		IMPORT	Index2Color
		IMPORT	InvertColor
		IMPORT	RealColor
		IMPORT	GetSubTable
		IMPORT	MakeITable
		IMPORT	AddSearch
		IMPORT	AddComp
		IMPORT	DelSearch
		IMPORT	DelComp

		IMPORT	SetClientID
		IMPORT	ProtectEntry
		IMPORT	ReserveEntry
		IMPORT	SetEntries
		IMPORT	SaveEntries
		IMPORT	RestoreEntries
		IMPORT	QDError
		IMPORT	CopyDeepMask
		IMPORT	DeviceLoop
		IMPORT	GetMaskTable
	endif